package com.gcxy.shop.dao;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.gcxy.shop.domain.Shop;

public class ShopDao {

	public static void delete(Long id) {
		// 从数据库中删除一个内容
		
	}

	public static List<Shop> findPager(Shop shop) {
		List<Shop> shops=new ArrayList<>();
		for(int i=0;i<=12;i++) {
			Shop s=new Shop();
			s.setId((long) (i+1));
			s.setProductname("adidas阿迪达斯2018年女士运动短裤"+i);
			s.setPrice(new BigDecimal("399"));
			shops.add(s);
			
		}
		return shops;
	}

}
